package com.me.modules.problem.entity;

import com.me.modules.activiti.annotation.ActTable;
import com.me.modules.common.entity.ActivitiBaseEntity;
import com.me.modules.sys.entity.ValueDictionaryEntity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;


/**
 * 问题工单信息表
 *
 * @author me
 * @email me@163.com
 * @date 2018-12-26 15:11:12
 */
@ActTable(tableName = "pro_problem_info",pkName="id")
public class ProblemInfoEntity extends ActivitiBaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	//问题id
	private Integer id;
	//问题编号
	private String proNo;
	//流程实例id
	private String instanceId;
	//问题标题
	private String topic;
	//问题详述
	private String content;
	//问题流程状态
	private String status;
	//归属业务系统  关联sys_operation_id
	private Integer operation;
	//问题类型
	private String type;
	//问题原因分类
	private String reason;
	//请求人ID
	private Integer reqId;
	//创建时间
	private Date createDate;
	//发生时间
	private Date happenDate;
	//提交人id
	private Integer sumbitUserId;
	//关闭人id
	private Integer closeUserId;
	//处理人ids
	private String dealUserIds;
	//处理组id
	private Integer dealGroupId;
	//关闭代码
	private String closeCode;
	//问题根本解决方案
	private String solution;
	//问题根本原因描述
	private String basicReason;
	//预防措施
	private String provision;
	//是否重大bug(0:否 1:是)
	private String isBigbug;
	//上线时间
	private Date onlineDate;
	//优先级
	private String priority;
	//bugfix测试员
	private Integer bugfixTestUserId;
	//stage测试员
	private Integer stageTestUserId;

	//请求人姓名
	private String reqUser;
	//业务系统名称
	private String operationName;

	private List<ValueDictionaryEntity> valueDictionarys =new ArrayList<ValueDictionaryEntity>();

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getProNo() {
		return proNo;
	}

	public void setProNo(String proNo) {
		this.proNo = proNo;
	}

	@Override
	public String getInstanceId() {
		return instanceId;
	}

	@Override
	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}

	public String getTopic() {
		return topic;
	}

	public void setTopic(String topic) {
		this.topic = topic;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String getStatus() {
		return status;
	}

	@Override
	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getOperation() {
		return operation;
	}

	public void setOperation(Integer operation) {
		this.operation = operation;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public Integer getReqId() {
		return reqId;
	}

	public void setReqId(Integer reqId) {
		this.reqId = reqId;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getHappenDate() {
		return happenDate;
	}

	public void setHappenDate(Date happenDate) {
		this.happenDate = happenDate;
	}

	public Integer getSumbitUserId() {
		return sumbitUserId;
	}

	public void setSumbitUserId(Integer sumbitUserId) {
		this.sumbitUserId = sumbitUserId;
	}

	public Integer getCloseUserId() {
		return closeUserId;
	}

	public void setCloseUserId(Integer closeUserId) {
		this.closeUserId = closeUserId;
	}

	public String getDealUserIds() {
		return dealUserIds;
	}

	public void setDealUserIds(String dealUserIds) {
		this.dealUserIds = dealUserIds;
	}

	public Integer getDealGroupId() {
		return dealGroupId;
	}

	public void setDealGroupId(Integer dealGroupId) {
		this.dealGroupId = dealGroupId;
	}

	public String getCloseCode() {
		return closeCode;
	}

	public void setCloseCode(String closeCode) {
		this.closeCode = closeCode;
	}

	public String getSolution() {
		return solution;
	}

	public void setSolution(String solution) {
		this.solution = solution;
	}

	public String getBasicReason() {
		return basicReason;
	}

	public void setBasicReason(String basicReason) {
		this.basicReason = basicReason;
	}

	public String getProvision() {
		return provision;
	}

	public void setProvision(String provision) {
		this.provision = provision;
	}

	public String getIsBigbug() {
		return isBigbug;
	}

	public void setIsBigbug(String isBigbug) {
		this.isBigbug = isBigbug;
	}

	public Date getOnlineDate() {
		return onlineDate;
	}

	public void setOnlineDate(Date onlineDate) {
		this.onlineDate = onlineDate;
	}

	public String getPriority() {
		return priority;
	}

	public void setPriority(String priority) {
		this.priority = priority;
	}

	public Integer getBugfixTestUserId() {
		return bugfixTestUserId;
	}

	public void setBugfixTestUserId(Integer bugfixTestUserId) {
		this.bugfixTestUserId = bugfixTestUserId;
	}

	public Integer getStageTestUserId() {
		return stageTestUserId;
	}

	public void setStageTestUserId(Integer stageTestUserId) {
		this.stageTestUserId = stageTestUserId;
	}

	public String getReqUser() {
		return reqUser;
	}

	public void setReqUser(String reqUser) {
		this.reqUser = reqUser;
	}

	public List<ValueDictionaryEntity> getValueDictionarys() {
		return valueDictionarys;
	}

	public void setValueDictionarys(List<ValueDictionaryEntity> valueDictionarys) {
		this.valueDictionarys = valueDictionarys;
	}

	public String getOperationName() {
		return operationName;
	}

	public void setOperationName(String operationName) {
		this.operationName = operationName;
	}
}
